// pages/index/index/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    home_img1: "../../../image/home_img1.png",
    home_img2: "../../../image/home_img2.png",
    signclass1: "v-sign text-color55ca5e",
    signtext1: "已获取2学时",
    signclass2: "v-sign text-colore33131",
    signtext2: "未获取学时",
    signclass3: "v-sign text-colorf39c47",
    signtext3: "已获取2学时(请假)",
    signclass4: "sign-zts",
    signtext4: "报名（余3）",
    signclass5: "sign-zts-border",
    signtext5: "已报名（满）",
    underline: "home-list",
    homeList1: [
      {
        home_img1: true,
        home_img2: false,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
        signclass: "v-sign text-color55ca5e",
        signtext: "已获取2学时",
        underline: "home-list",
        rb_blue:false,
        rb_grey: false
      },
      {
        home_img1: false,
        home_img2: true,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
        signclass: "v-sign text-colore33131",
        signtext: "未获取学时",
        underline: "home-list",
        rb_blue: false,
        rb_grey: false
      },
      {
        home_img1: false,
        home_img2: true,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
        signclass: "v-sign text-colorf39c47",
        signtext: "已获取2学时(请假)",
        rb_blue: false,
        rb_grey: false
      },

    ],
     homeList2: [
      {
        home_img1: true,
        home_img2: false,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
         signclass: "sign-zts",
         signtext: "报名（余3）",
         underline: "home-list",
         rb_blue: false,
         rb_grey: false
      },
      {
        home_img1: false,
        home_img2: true,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
        signclass: "sign-zts-border",
        signtext: "已报名（满）",
        underline: "",
        rb_blue: false,
        rb_grey: false
      },
    ],
     homeList3: [
      {
        home_img1: true,
        home_img2: false,
        title: "标题",
        time: "2018.9.5 星期三 14:00-16:50",
        address: "B 二综 318",
        signclass: "v-sign text-color55ca5e",
        signtext: "已获取2学时",
         underline: "",
         rb_blue: false,
         rb_grey: false
      },
   

    ],
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

    wx.setNavigationBarTitle({
      title: '培训'
    })
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})